home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000034_fdc@watsun.cc.columbia.edu_Fri Oct 5 15:52:25 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
2KB
|
39 lines
Article: 12842 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.unix.aix,comp.protocols.kermit.misc
Subject: Re: ftp download with help of a file
Date: 5 Oct 2001 19:52:50 GMT
Organization: Columbia University
Lines: 22
Message-ID: <9pl32i$36l$1@newsmaster.cc.columbia.edu>
References: <5e23bad3.0110050335.3c8e127@posting.google.com> <9pkgfq$ipf$1@newsmaster.cc.columbia.edu> <9pl0ah$so3$1@newsmonger.rutgers.edu>
NNTP-Posting-Host: watsun.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1002311570 3285 128.59.39.2 (5 Oct 2001 19:52:50 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 5 Oct 2001 19:52:50 GMT
Xref: newsmaster.cc.columbia.edu comp.unix.aix:223823 comp.protocols.kermit.misc:12842
In article <9pl0ah$so3$1@newsmonger.rutgers.edu>,
sp2 admin <bsf@er6.rutgers.edu> wrote:
:
: havent tried it, but from the ftp man page:
: o If a - (hyphen) is specified for the parameter, standard input (stdin) is
: used for read operations and standard output (stdout) is used for write
: operations.
:
: as long as you can get your files into stdin, you should be able to do
: it that way...
:
Stuffing stdin into FTP's command processor is not recommended. There is
no error-checking, no feedback, etc, not to mention that it often simply
just does not work. Please read the beginning of:
http://www.columbia.edu/kermit/ftpscripts.html
for elaboration about why, if you want to automate FTP sessions, the
scripting needs to be integrated with the FTP client (Item 1). Then read
Item 2 about the .netrc file. Then read Item 3 about 'expect', etc.
- Frank